#!/bin/bash
MXMLC=/opt/flex2/bin/mxmlc
BUILD_DIR=flex/
OUPUT_DIR=public/bin
OPTS="-include-libraries ${BUILD_DIR}/lib/Cairngorm.swc"

${MXMLC} ${BUILD_DIR}/main.mxml ${OPTS}
cp ${BUILD_DIR}/main.swf ${OUTPUT_DIR}/
